projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
857f73e
)
* src/w32proc.c (sys_select): Fix bitwise test.
author
Juanma Barranquero
<lekktu@gmail.com>
Mon, 12 Oct 2015 19:05:07 +0000
(21:05 +0200)
committer
Juanma Barranquero
<lekktu@gmail.com>
Mon, 12 Oct 2015 19:05:07 +0000
(21:05 +0200)
src/w32proc.c
patch
|
blob
|
history
diff --git
a/src/w32proc.c
b/src/w32proc.c
index 62d65313bb38855e5706b5f1c1bad67f3fed15ad..6659ed7499e1a0d2a86d90abe2ec8de493bfbf1a 100644
(file)
--- a/
src/w32proc.c
+++ b/
src/w32proc.c
@@
-2179,7
+2179,7
@@
sys_select (int nfds, SELECT_TYPE *rfds, SELECT_TYPE *wfds, SELECT_TYPE *efds,
cp = fd_info[i].cp;
if (FD_ISSET (i, &owfds)
&& cp
- && (fd_info[i].flags &
&
FILE_CONNECT) == 0)
+ && (fd_info[i].flags & FILE_CONNECT) == 0)
{
DebPrint (("sys_select: fd %d is in wfds, but FILE_CONNECT is reset!\n", i));
cp = NULL;